#if !defined(__SDL1_2_14_WIN32_BUILD_HEADER__)
#define __SDL1_2_14_WIN32_BUILD_HEADER__

#ifdef _WIN32
#pragma once
#endif

#include <sdl.h>
#include <sdl_syswm.h>

#define _SDL_

#pragma comment(lib, "sdl.lib")
#pragma comment(lib, "sdlmain.lib")


typedef struct _SDLVIEW
{
	SDL_Surface*	screen;
	SDL_Overlay*	bmp;
	HWND			hWnd;
	void*			sdlthread;
	void*			waitevent;
	CRITICAL_SECTION critical;
	int				width;
	int				height;
	HWND			hParent;
	RECT			rtInit;
} SDLVIEW;

/*
	you should set 'Multiple Thread DLL' option in project settings..
*/

#endif // __SDL1_2_14_WIN32_BUILD_HEADER__